<template>
	<view>
		
		<t-index-address @select="select" style="background-color: #fff;"></t-index-address>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			select(data){
				console.log(data);
				// uni.setStorageSync('selAddress',data.name)
				this.$emit('select',data.name);
				// uni.switchTab({
				// 	url:"/pages/index/index"
				// })
			},
			back(){
				this.$emit('showSelect',false)
			}
		}
	}
</script>

<style>

</style>
